<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>选购商品时打开购物车页面</title>
<link rel="stylesheet" type="text/css" href="css/index.css" />
<link rel="stylesheet" type="text/css" href="css/unite_header_0811.css" />
<script type="text/javascript">
function addToShoppingCart(product_id)
{
 var url=null;
 if(product_id==null || product_id<1)
	url="http://shopping.dangdang.com/shoppingcart/shopping_cart.aspx";
 else
	url="http://shopping.dangdang.com/shoppingcart/shopping_cart.aspx?product_ids="+product_id;
 var popup=window.open(url,"shoppingcart");
 popup.focus()
}
</script>

</head>
<body>
<span class="buy"><a href="javascript:addToShoppingCart('683336');" name="purchase_mall">加入购物车</a></span>
</body>
</html>
